
.container {
    position: relative;
    height: 100%;
    background-color: #2F4050;
}
.loginBox {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 300px;
    background-color: #fff;
    box-shadow: 0 0 5px #888;
}
.head {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 3px #999;
}
.photo {
    width: 110px;
    height: 110px;
    margin: 10px;
    background-color: #ccc;
    border-radius: 50%;
    background: url('../img/default.png') no-repeat;
    background-size: cover;
}
.loginForm {
    width: 300px;
    margin: 100px auto 0;
}
.loginForm input {
    display: block;
    width: 100%;
    height: 30px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding-left: 8px;
}
.loginSubmit {
    background-color: #30C1E6;
}
.indexBox {
    display: flex;
    height: 100%;
}
.slide {
    width: 200px;
    height: 100%;
    background-color: #2F4050;
}
.slide-head {
    width: 100%;
    height: 180px;
    border-top: 1px solid transparent;
    background-color: #243443;
    text-align: center;
    color: #ccc;
}
.avatar {
    width: 80px;
    height: 80px;
    margin: 20px auto;
    border-radius: 50%;
    overflow: hidden;
}
.avatar img {
    width: 100%;
    height: 100%;
}
.nav {
    margin-top: 10px;
}

.navItems li {
    color: #ccc;
    font-size: 16px;
    line-height: 40px;
}
.navItems li a {
    display: block;
    width: 100%;
    height: 40px;
    padding-left: 20px;
}
.navActive {
    background-color: #243443;
    color: #fff; 
}
.navItems li span {
    margin-right: 15px;
}
.arrow {
    margin-left: 90px;
    font-size: 12px!important;
    font-weight: 700;
    transition: transform .2s;
}
.navItems li:hover a {
    background-color: #213140;
    color: #fff;
}
.itemgroup {
    display: none;
    background-color: #243443;
}
.itemgroup li {
    font-size: 14px;
    
}
.main {
    flex: 1;
    height: 100%;
    background-color: #F8F9FB;
}
.content-head {
    display: flex;
    height: 50px;
    line-height: 50px;
    background-color: #fff;
    font-size: 14px;
    text-align: center;
}
.content-left {
    width: 40px;
    height: 40px;
    margin: 5px;
    line-height: 40px;
}
.modify {
    width: 100px;
    height: 50px;
}
.modify a {
    display: block;
    width: 100%;
    height: 100%;
    color: #333;
}
.loginOut {
    width: 80px;
    height: 50px;
}
.content-icon {
    flex: 1;
}
.content {
    padding: 20px;
}
.content-body {
    width: 100%;
    height: 300px;
    background-color: #eee;
    text-align: center;
    overflow: hidden;
}
.content-body p:first-child {
    margin-top: 50px;
    font-size: 60px;
}
.content-body p:nth-child(2) {
    font-size: 20px;
    margin: 20px 0;
}
.content-body a {
    display: block;
    width: 100px;
    height: 50px;
    margin: 0 auto;
    line-height: 50px;
    background-color: #40586D;
    border-radius: 5px;
    color: #fff;
    font-size: 18px;
}
.total {
    width: 300px;
    background-color: #fff;
    margin-top: 30px;
    border: 1px solid #ccc;
}
.total ul li {
    height: 40px;
    padding-left: 15px;
    line-height: 40px;
    border-bottom: 1px solid #ccc;
    font-size: 14px;
}
.total ul li:last-child {
    border-bottom: none;
}
.total ul li:first-child {
    font-size: 16px;
    background-color: #f5f5f5;
}
/* 评论页面代码 */
.content p {
    font-size: 22px;
}
.pageContent {
    margin: 20px 0 20px;
}
.pages {
    height: 30px;
    border: 1px solid #ccc;
    background-color: #fff;
    text-align: center;
    line-height: 30px;
    font-size: 12px;
    
}
.pages span {
    width: 50px;
    height: 30px;
    
}
.pages ul li {
    float: left;
    width: 30px;
    height: 30px;
    
    border-left: 1px solid #ccc;
}
.pages ul li:last-child {
    border-right: 1px solid #ccc;
}
.commentTable {
    border-collapse: collapse;
    background-color: #fff;
    border: 1px solid #ccc;
}
.commentTable th,
.commentTable td {
                  height: 40px;
                  padding-left: 10px;
              }
.commentTable tr:nth-child(odd) {
    background-color: rgb(216, 139, 139);
}
/* 用户页面  */
.add-title {
    display: block;
    font-size: 18px;
    margin: 20px 0;
}
.addUser label {
    display: block;
    margin-top: 20px;
    font-weight: 400;
}
.addUser input {
    display: block;
    width: 100%;
    height: 35px;
    border: 1px solid #ccc;
    padding-left: 10px;
}
.formImg {
    position: relative;
    width: 150px;
    height: 150px;
}
.formgroup .formImg #avatarInput {
    position: absolute;
    left: 0;
    top: 0;
    width: 150px;
    height: 150px;
    padding: 0;
    opacity: 0;
    z-index: 9;
}
.formImg img {
    width: 100%;
    height: 100%;
}
.formImg i {
   position: absolute;
   left: 0;
   top: 0;
   width: 150px;
   height: 150px;
   background-color: rgb(0,0,0, .2);
   text-align: center;
   line-height: 150px;
    font-size: 18px;
    font-weight: 700;
    color: #444;
    opacity: 0;
    transition: opacity .3s;
}
.formImg:hover i {
    opacity: 1;
}
.formCheckbox {
    margin: 20px 0;
}
.addUser .formCheckbox input {
    display: inline-block;
    width: 12px;
    height: 12px;
    vertical-align: top;
}
.addUser .formCheckbox label {
    display: inline-block;
    margin: 0 20px 0 8px;
}
.userTable {
    width: 100%;
    margin-top: 10px;
}
.userTable tbody td {
    height: 50px;
    line-height: 50px!important;
}
.userTable td:first-child,
.userTable td:nth-child(2),
.userTable td:last-child {
    text-align: center;
}
.userTable th,
.userTable tr td {
    font-size: 14px;
    vertical-align: middle!important;
}
.userTable td img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
/*文章页面  */
.pageContent {
    margin: 20px 0 10px;
}
.selectItem select {
    width: 80px;
    height: 30px;
    outline: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    vertical-align: top;
}
.selectItem select:focus {
    border: 1px solid #30C1E6;
}
.selectItem span {
    display: inline-block;
    width: 50px;
    height: 30px;
    border: 1px solid #ccc;
    text-align: center;
    line-height: 30px;
    border-radius: 5px;
    background-color: #fff;
    
}
.selectItem span:hover {
    background-color: #DEE1E6;
}
.pageChange ul {
  margin: 0;
    
}
.pageChange a,
.pageChange span {
    height: 30px;
    font-size: 12px;
}
.artTable {
    width: 100%;
    border: 1px solid #ccc;   
}
.artTable th,
.artTable td {
    text-align: center;
    height: 40px;
}
.artTable a {
    margin-right: 3px;
}
/* 添加文章模块 */
.art-formgroup label {
    display: block;
    margin-top: 20px;
    color: #666;
    font-weight: 400;
}
.art-formgroup input {
    width: 100%;
    height: 50px;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding-left: 10px;
    font-size: 18px;
}
.art-formgroup textarea {
    width: 100%;
    height: 300px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    outline: none;
    resize: vertical;
}
.art-formgroup textarea:focus {
    border: 1px solid #30C1E6;
}
.input-formgroup label {
    display: block;
    margin-top: 20px;
}
.input-formgroup input,
.input-formgroup select {
    width: 100%;
    height: 35px;
    border: 1px solid #ccc;
    padding: 6px 12px;
    background-color: #fff;
    border-radius: 5px;
}
.saveForm {
    margin-top: 20px;
}
/* 文章分类*/
.content_title {
    display: block;
    margin: 20px 0;
    font-size: 16px;
}
.formgroup label {
    display: block;
    margin-top: 20px;
    font-weight: 400;
}
.formgroup input {
    display: block;
    width: 100%;
    height: 35px;
    border: 1px solid #ccc;
    padding-left: 10px;
}
.content .cateBtn {
    margin-top: 20px!important;
}
.cateTable {
    margin-top: 20px;
}
.cateTable tr th:first-child,
.cateTable tr th:last-child,
.cateTable tr td:last-child,
.cateTable tr td:first-child {
    text-align: center;
}
.cateTable tr>th {
    border-bottom-width: 1px!important;
}
/* 图片轮播*/
.fileInput {
    padding: 6px 12px;
}
.slideTable tbody td {
    line-height: 70px!important;
}
.slideTable tbody tr td:last-child {
    padding-top: 30px;
}
.slideTable tbody tr td:first-child {
    padding-top: 15px;
}
.slideTable tbody img {
    width: 200px;
    height: 60px;
}
/* 网站设置*/
.settingForm {
    margin: 40px 0 0 100px;
}
.settingForm label {
    display: inline-block;
    margin-right: 20px;
    vertical-align: top;
    
}
.settingForm input {
    display: inline-block;
    margin: 0 5px 10px 0;
    vertical-align: -2px;
}
.setting-title {
    width: 80px;
    text-align: right;
}
.setting-group {
    margin-bottom: 20px;
}
.inputHidden {
    position: relative;
    width: 150px;
    height: 100px;
    background-color: #fff;
    text-align: center;
    line-height: 100px;
    transition: all 0.3s;
}
.inputHidden img {
    width: 100%;
    height: 100%;
}
.inputHidden i {
    position: absolute;
    left: 0;
    top: 0;
    /* left: 50%;
    top: 50%;
    transform: translate(-50%,-50%); */
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0,0.4);
    display: none;
}

.inputHidden:hover i {
    display: block;
}
.settingFile {
    position: absolute;
    left: 0;
    top: 0;
    width: 150px;
    height: 100px;
    background-color: #fff;
    opacity: 0; 
    z-index: 9; 
}
.setting-name input {
    width: 500px;
    height: 35px;
    padding-left: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
   
}
.comment-setting {
    font-weight: 400;
}
.settingBtn {
    margin-left: 100px;
}
/* 修改密码模块*/
.resetForm {
    margin-top: 40px;     
}
.resetformgroup {
    margin-bottom: 20px;
}
.resetformgroup label {
    text-align: right;
    margin-right: 30px;
    font-weight: 400;
    padding-top: 7px;
}
.resetformgroup input {
    height: 35px;
    border: 1px solid #ccc;
    border-radius: 5px;
    
}
@media screen and (max-width: 768px) {
    .resetformgroup {
        margin-bottom: 10px;
    }
    .resetformgroup label {
        display: block;
        text-align: left;
        padding-left: 0;
    }
    .resetformgroup input {
        width: 600px;
    }
}


